package com.example.demo.generator.scaffold.dto.stats;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 单条统计结果。
 */
public class ScaffoldStatsResult {

    private Map<String, Object> dimensions = new LinkedHashMap<>();

    private long count;

    public Map<String, Object> getDimensions() {
        return dimensions;
    }

    public void setDimensions(Map<String, Object> dimensions) {
        this.dimensions = dimensions != null ? dimensions : new LinkedHashMap<>();
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }
}
